package qiyu.im.core.server.constants;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-10-16
 * Time: 18:10
 */
public class ImMsg {

    // 消息的魔数
    private short magic;
    // 消息的长度
    private int len;
    // 消息的业务code(属于直播业务,还是属于送礼业务...)
    private int code;
    // 消息的主体
    private byte[] body;

    public short getMagic() {
        return magic;
    }

    public void setMagic(short magic) {
        this.magic = magic;
    }

    public int getLen() {
        return len;
    }

    public void setLen(int len) {
        this.len = len;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }
}